package com.xueyi.system.seedDetection.service.impl;

import com.xueyi.system.seedDetection.domain.query.SeedDetectionQuery;
import com.xueyi.system.seedDetection.domain.dto.SeedDetectionDto;
import com.xueyi.system.seedDetection.service.ISeedDetectionService;
import com.xueyi.system.seedDetection.manager.ISeedDetectionManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 种子种苗检测管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class SeedDetectionServiceImpl extends BaseServiceImpl<SeedDetectionQuery, SeedDetectionDto, ISeedDetectionManager> implements ISeedDetectionService {

    /**
     * 查询种子种苗检测对象列表 | 数据权限 | 附加数据
     *
     * @param seedDetection 种子种苗检测对象
     * @return 种子种苗检测对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"SeedDetectionMapper"})
    public List<SeedDetectionDto> selectListScope(SeedDetectionQuery seedDetection) {
        return baseManager.selectListExtra(seedDetection);
    }

}